package com.egdd.video.mapper;

import com.egdd.video.pojo.Song;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SongMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Song record);

    int insertSelective(Song record);


    Song selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Song record);

    int updateByPrimaryKey(Song record);

    /**
     * 查询所有列表
     * @return
     */
    List<Song> listAll();
}
